﻿
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <link rel="icon" href="~/images/log1.ico" type="image/x-icon" />
    <link href="~/layuiadmin/layui/css/layui.css" rel="stylesheet" />
    <link href="~/css/admin.css" rel="stylesheet" />
    <link href="~/css/app.css" rel="stylesheet" />


    @*<script src="~/layuiadmin/layui/layui.js" type="text/javascript"></script>*@
    <script src="~/js/jquery-3.2.1.min.js" type="text/javascript"></script>
    @*<script src="~/layuiadmin/lib/indextab.js"></script>*@
    <title>WoDe进销存管理</title>

</head>
<body class="layui-layout-body">

    <div id="LAY_app">
        <div class="layui-layout layui-layout-admin">
            <div class="layui-header">
                <!-- 头部区域 -->
                <ul class="layui-nav layui-layout-left">
                    <li class="layui-nav-item layadmin-flexible" lay-unselect>
                        <a href="javascript:;" layadmin-event="flexible" title="侧边伸缩">
                            <i class="layui-icon layui-icon-shrink-right" id="LAY_app_flexible"></i>
                        </a>
                    </li>
                    <li class="layui-nav-item" lay-unselect>
                        <a href="javascript:;" layadmin-event="refresh" title="刷新">
                            <i class="layui-icon layui-icon-refresh-3"></i>
                        </a>
                    </li>
                </ul>
                <ul class="layui-nav layui-layout-right" lay-filter="layadmin-layout-right">
                    @*<li class="layui-nav-item layui-hide-xs" lay-unselect>
                            <a href="javascript:;" layadmin-event="theme">
                                <i class="layui-icon layui-icon-theme"></i>
                            </a>
                        </li>
                        <li class="layui-nav-item layui-hide-xs" lay-unselect>
                            <a href="javascript:;" layadmin-event="note">
                                <i class="layui-icon layui-icon-note"></i>
                            </a>
                        </li>*@
                    <li class="layui-nav-item" lay-unselect>
                        <a href="javascript:;">
                            <cite>@(ViewBag.LoginName)</cite>
                        </a>
                        <dl class="layui-nav-child">
                            <dd><a lay-href="set/user/info.html">基本资料</a></dd>
                            <dd><a lay-href="set/user/password.html">修改密码</a></dd>
                            <hr>
                            @*layadmin-event="logout"*@
                            <dd style="text-align: center;"><a onclick="LoginOut()">退出</a></dd>
                        </dl>
                    </li>

                    <li class="layui-nav-item layui-hide-xs" lay-unselect>
                        <a href="javascript:;"><i class="layui-icon layui-icon-more-vertical"></i></a>
                    </li>
                    <li class="layui-nav-item layui-show-xs-inline-block layui-hide-sm" lay-unselect>
                        <a href="javascript:;"><i class="layui-icon layui-icon-more-vertical"></i></a>
                    </li>
                </ul>
            </div>

            <!-- 侧边菜单 -->
            <div class="layui-side layui-side-menu">
                <div class="layui-side-scroll">
                    <div class="layui-logo">
                        <span>WoDe进销存管理</span>
                    </div>
                    <ul class="layui-nav layui-nav-tree" lay-shrink="all" id="LAY-system-side-menu" lay-filter="layadmin-system-side-menu"></ul>
                </div>
            </div>

            <!-- 页面标签 -->
            <div class="layadmin-pagetabs" id="LAY_app_tabs">
                <div class="layui-icon layadmin-tabs-control layui-icon-prev" layadmin-event="leftPage"></div>
                <div class="layui-icon layadmin-tabs-control layui-icon-next" layadmin-event="rightPage"></div>
                <div class="layui-icon layadmin-tabs-control layui-icon-down">
                    <ul class="layui-nav layadmin-tabs-select" lay-filter="layadmin-pagetabs-nav">
                        <li class="layui-nav-item" lay-unselect>
                            <a href="javascript:;"></a>
                            <dl class="layui-nav-child layui-anim-fadein">
                                <dd layadmin-event="closeThisTabs"><a href="javascript:;">关闭当前标签页</a></dd>
                                <dd layadmin-event="closeOtherTabs"><a href="javascript:;">关闭其它标签页</a></dd>
                                <dd layadmin-event="closeAllTabs"><a href="javascript:;">关闭全部标签页</a></dd>
                            </dl>
                        </li>
                    </ul>
                </div>
                <div class="layui-tab" lay-unauto lay-allowClose="true" lay-filter="layadmin-layout-tabs">
                    <ul class="layui-tab-title" id="LAY_app_tabsheader">
                        <li lay-id="/Main/Default" class="layui-this"><i class="layui-icon layui-icon-home"></i></li>
                    </ul>
                </div>
            </div>


            <!-- 主体内容 -->
            <div class="layui-body" id="LAY_app_body">
                <div class="layadmin-tabsbody-item layui-show">
                    <iframe src="/Main/Defalut" frameborder="0" class="layadmin-iframe"></iframe>
                </div>
            </div>

        </div>
    </div>
    <div id="loadingPage" style="display: none;">
        <div class="loading-shade"></div>
        <div class="loading-content" onclick="$.loading(false)">数据加载中，请稍后…</div>
    </div>
    <style>
        .layui-layer-btn .layui-layer-btn0 {
            background: #5cb85c;
            border: 1px solid #4cae4c;
            color: #fff;
        }

        .layui-layer-btn .layui-layer-btn1 {
            background: #d9534f;
            border: 1px solid #d43f3a;
            color: #fff;
        }

        .layui-layer-iframe .layui-layer-btn {
            padding: 0px;
            padding-top: 5px;
            padding-right: 2px;
            height: 35px;
            text-align: right;
            border: 0px solid #ccc;
            border-top: none;
            background-color: #f5f5f5;
        }

        .layui-layer-title {
            margin: 0px;
            padding: 0px;
            height: 40px;
            line-height: 40px;
            font-size: 15px;
            font-family: inherit;
            padding-left: 16px;
            border-bottom: 1px solid #ccc;
            background-color: #fff;
            border-top-left-radius: 6px;
            border-top-right-radius: 6px;
        }

        .layui-layer-btn a {
            margin: 0 5px;
            padding: 0 20px;
        }

        .layui-form-label {
            width: 80px;
            padding: 2px 10px 0px 0px;
        }
    </style>
    <script src="~/layuiadmin/layui/layui.js" type="text/javascript"></script>
    <script src="~/layuiadmin/lib/indextab.js"></script>
    @*<script>
            //JavaScript代码区域
            layui.use('element', function () {
                var element = layui.element;

            });
        </script>*@
    <script>
            layui.config({
                base: '/layuiadmin/' //静态资源所在路径
            }).extend({
                index: 'lib/index' //主入口模块
            }).use('index');
        </script>
    <script>
        function LoginOut() {
            window.location = "/Login/Index";
        }
    </script>
</body>
</html>
